Determining the accessibility of a portable storage device using format and access right information

ABSTRACT

There is provided a portable storage device which makes it possible to largely reduce time that is taken to remove the storage cartridge that is inserted and cannot be handled. A removable hard disk cartridge contains a hard disk and a control circuit for control of writing and reading of data in and from the hard disk in a casing thereof. A main unit includes an automatic loading/ejecting mechanism that receives the hard disk cartridge into a predetermined inner position within the main unit and ejects the same out from the position, and a microprocessor that controls storage operation for storing data in the hard disk cartridge. Before the automatic loading/ejecting mechanism performs a receiving operation, it is determined whether access to contents recorded on the hard disk can be gained, and when the access cannot be gained, the receiving operation by the automatic loading/ejecting mechanism is inhibited.

This is a continuation of application Ser. No. 10/726,277, filed 2 Dec.2003, now U.S. Pat. No. 7,213,119.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a portable storage device in which astorage cartridge containing a storage medium is removably loaded, amethod of controlling the portable storage device, a control program forexecuting the method, and an electronic information apparatus includingthe portable storage device.

2. Description of the Related Art

Conventionally, there has been made progress in the downsizing andperformance improvement of component parts used in informationprocessors, and portable notebook personal computers are now widelyused. The proliferation of personal computers including the notebookpersonal computers is very remarkable, and an increasing number ofpeople own, for example, a desktop personal computer and a notebookpersonal computer at their workplaces, and a plurality of personalcomputers at home.

Under these circumstances, users desire to manage data stored in a harddisk within a personal computer in a centralized fashion, or carry alarge volume of data to use the data with a plurality of personalcomputers as required.

Further, due to the widespread use of digital cameras and digital videocameras, there are a increasing number of occasions when images taken bythe cameras are processed. The images taken by a digital camera or videocamera have large data volume, and especially the data volume of amoving picture is very large, which causes a problem that the capacityof a hard disk for storing such images becomes insufficient in a shorttime.

To overcome this problem, the capacity of newly-developed hard disks isincreasing at a very sharp rate year after year. In the meanwhile, usersusing a hard disk with a small capacity come to have an increasingdesire to replace the currently used hard disk with one having a largercapacity.

To cope with these demands and problems, there has been proposed aportable storage device easy to carry, which uses a removable portablestorage cartridge (hereinafter referred to as “a removable hard diskcartridge”) that contains a hard disk and is easily replaceable.

In the portable storage device of the above-mentioned type, however, itis necessary for a user to manually load/unload a removable hard diskcartridge in/from a main unit, and hence the removable hard diskcartridge can be erroneously removed from the main unit during access toits hard disk. If this happens, data stored in the hard disk can bedestroyed, and in the worst case, all of important data is lost.

Another demand is that a removable hard disk cartridge can beautomatically loaded/unloaded in/from the main unit as easily as a VTRcassette.

To meet the demand, a loading device enabling automatic operation forloading/ejecting a removable hard disk cartridge, using a simple meanshas been proposed by the present assignee e.g. in Japanese PatentApplication No. 2002-364308.

Further, there has been proposed a disk array device including anautomatic ejecting mechanism for automatically ejecting a damaged diskdrive or the like (see e.g. Japanese Laid-Open Patent Publications(Kokai) Nos. H10-254649 and H10-301719.)

However, as is well known, the hard disk device is vulnerable to shockdue to its mechanical construction. This vulnerability of the hard diskhas been overcome to some extent due to various technical improvementsrecently attained, with increased shock-resistance thereof.Nevertheless, it is still desirable to prevent shock or impact frombeing applied to the hard disk device during access operation forreading or writing, apart from when the hard disk device is in a standbystate in which the magnetic head is in the shipping position.

However, when the automatic loading/ejecting mechanism is employed forloading/unloading the removable hard disk cartridge, accidental shock orimpact can be applied to the hard disk device during access operationfor reading or writing. To avoid this shock or impact, loading/ejectingoperations can be performed only at an operating speed which causespractically no shock, or more precisely, at an operating speed whichdoes not cause shock above a permissible level.

Thus, there is a limit imposed on the speed of loading/ejectingoperations, and therefore, when an unintended disk is erroneouslyinserted, when a disk without an access right is inserted, or especiallywhen an unformatted disk or a disk formatted in a format that is notcompatible with the main unit is inserted, it takes time from loading ofthe disk to ejection of the same, which is annoying to the user.

In the prior art, however, no technical idea has been disclosed forincreasing the speed of automatic loading/ejecting operations for aremovable hard disk cartridge formatted in a format that cannot behandled or an unformatted removable hard disk cartridge.

Neither has been disclosed any technical idea for preventing data storedin a hard disk from being destroyed due to access to the hard diskduring a loading operation or an ejecting operation.

SUMMARY OF THE INVENTION

It is a first object of the present invention to provide a portablestorage device, a method of controlling the portable storage device, acontrol program for executing the method, an electronic informationapparatus including the portable storage device, which make it possibleto largely reduce time that is taken to remove a storage cartridge thatcannot be handled when it is inserted.

It is a second object of the present invention to provide a portablestorage device incorporating an automatic loading/ejecting mechanism, amethod of controlling the portable storage device, a control program forexecuting the method, an electronic information apparatus including theportable storage device, which are capable of performingloading/ejecting operations safely at a high speed when a removable harddisk cartridge is loaded or ejected.

To attain above described first object, in a first aspect of the presentinvention, there is provided a portable storage device comprising astorage cartridge including a storage medium, a storage medium controldevice that performs writing of data in the storage medium and readingof data from the storage medium, and a casing that contains the storagemedium and the storage medium control device, a main unit including areceiving and ejecting device that receives the storage cartridge froman outside of the main unit into a predetermined inner position withinthe main unit, and ejects the storage cartridge out of the main unitfrom the predetermined inner position, and a storage operation controldevice that controls storage operation for storing data in the storagecartridge, an accessibility determining device that determines whetheror not access to contents recorded on the storage medium can be gainedbefore the receiving and ejecting device performs a receiving operation,and a reception inhibiting device that inhibits the receiving andejecting device from performing the receiving operation when theaccessibility determining device determines that the access cannot begained.

With the arrangement of the portable storage device according to thefirst aspect of the present invention, before the receiving and ejectingdevice a receiving operation for receiving a storage cartridge fromoutside the main unit into the predetermined inner position within thesame, the accessibility determining device determines whether access tothe contents recorded on the storage medium can be gained, and when theaccessibility determining device determines that the access cannot begained, the receiving and ejecting device is inhibited from performingthe receiving operation. Therefore, even when a storage cartridge thatcannot be handled is inserted, the receiving and ejecting device neednot perform an operation for once receiving the storage cartridge, sothat it is possible to largely reduce time that is taken to remove thestorage cartridge that cannot be handled.

Preferably, the accessibility determining device determines whether ornot the access can be gained by trying access to the storage medium.

With the arrangement of this preferred embodiment, it is possible toprovide the same advantageous effect as described above.

Preferably, the storage cartridge includes another storage mediumstoring format information and access right information of the storagemedium, and the accessibility determining device tries access to theother storage medium to thereby determine from the format informationand the access right information whether or not the access can begained.

With the arrangement of this preferred embodiment, it is possible todetermine whether the access can be gained, by accessing the otherstorage medium storing format information and access right informationon the storage medium, without accessing the storage medium directly.

More preferably, the other storage medium is a nonvolatile semiconductormemory.

With the arrangement of this preferred embodiment, since the otherstorage medium is a nonvolatile semiconductor memory, it is possible todetermine whether the access can be gained more speedily.

More preferably, when the accessibility determining device tries accessto the other storage medium but cannot determine that the access can begained, the accessibility determining device tries access to the storagemedium to thereby determine whether or not the access can be gained.

With the arrangement of this preferred embodiment, when it cannot bedetermined that the access can be gained by accessing the other storagemedium storing format information and access right information on thestorage medium, the accessibility determining device accesses thestorage medium to thereby determine whether the access can be gained.This makes it possible to more positively determine whether or not theaccess can be gained.

More preferably, the accessibility determining device determines whetheror not the access can be gained by determining whether or not thestorage medium is formatted.

With the arrangement of this preferred embodiment, the accessibilitydetermining device determines whether or not the access can be gained bydetermining whether or not the storage medium is formatted. This makesit possible to positively prevent an unformatted storage medium frombeing received.

More preferably, the accessibility determining device determines whetheror not the access can be gained by determining whether or not thestorage medium is controllably formatted.

With the arrangement of this preferred embodiment, the accessibilitydetermining device determines whether or not the access can be gained bydetermining whether or not the storage medium is formatted in acontrollable form. This makes it possible to positively prevent astorage medium in a uncontrollable format from being received.

More preferably, the accessibility determining device determines whetheror not the access can be gained by determining whether or not a user hasan access right to the storage medium.

With the arrangement of this preferred embodiment, the accessibilitydetermining device determines whether or not the access can be gained bydetermining whether or not a user has an access right to the storagemedium. This makes it possible to positively prevent a user who does nothave the access right from accessing the contents.

Further preferably, the receiving and ejecting device is responsive to adetermination by the accessibility determining device that the accesscan be gained, for receiving the storage cartridge into thepredetermined inner position substantially simultaneously withcompletion of the determination.

With the arrangement of this preferred embodiment, when theaccessibility determining device can determine that the access can begained, the receiving and ejecting device receives the storage cartridgeinto the predetermined inner position almost simultaneously withcompletion of the determination. Therefore, it is possible to reducetime for receiving the storage cartridge, and therefore it is possibleto provide excellent operability.

Further preferably, the portable storage device as further comprises anotification device which is responsive to a determination by theaccessibility determining device that the access cannot be gained, fornotifying a user that the access cannot be gained.

With the arrangement of this preferred embodiment, the user can beinformed that the access cannot be gained, without delay.

Even more preferably, the portable storage device further comprises aformat process device which is responsive to a determination by theaccessibility determining device that the access cannot be gained, forasking the user whether or not the storage medium is to be formatted,and is responsive to an instruction by the user that the storage mediumis to be formatted, for causing the storage cartridge to be receivedinto the predetermined inner position and formatting the storage mediumin a controllable format.

With the arrangement of this preferred embodiment, when a storage mediumthat cannot be accessed is to be formatted, the storage cartridge isreceived into the predetermined inner position and formatted in acontrollable form, which makes the portable storage deviceuser-friendly.

Preferably, when the formatting is executed, format information on theformat of the storage medium is written into the other storage medium.

With the arrangement of this preferred embodiment, format information onthe controllable format into which the storage medium is formatted iswritten in the other storage medium, so that from then on, by accessingthe other storage medium, it is possible to determine whether or not theaccess can be gained from the format information.

Preferably, when the access right is changed during use of the storagecartridge, access right information on the changed access right iswritten into the other storage medium.

With the arrangement of this preferred embodiment, access rightinformation on the access right which is changed during use of thestorage medium is written in the other storage medium, so that from thenon, by accessing the other storage medium, it is possible to determinewhether the access can be gained from the access right information.

To attain the first object, in a second aspect of the present invention,there is provided an electronic information apparatus including theportable storage according to the first aspect of the present invention.

With the arrangement of the electronic information apparatus accordingto the second aspect of the present invention, it is possible to largelyreduce time that is taken to remove the storage cartridge that cannot behandled.

To attain the first object, in a third aspect of the present invention,there is provided a method of controlling a portable storage device,comprising a storage medium control step of performing writing of datain a storage medium contained in a storage cartridge and reading of datafrom the storage medium, a receiving and ejecting step of receiving thestorage cartridge from outside a main unit into a predetermined innerposition within the main unit, and ejecting the storage cartridge out ofthe main unit from the predetermined inner position, a storage operationcontrol step of controlling storage operation for storing data in thestorage cartridge, an accessibility determining step of determiningwhether or not access to contents recorded on the storage medium an begained, before a receiving operation is performed in the receiving andejecting step, and an reception inhibiting step of inhibiting thereceiving operation from being performed in the receiving and ejectingstep when it is determined in the accessibility determining step thatthe access cannot be gained.

With the arrangement of the method according to the third aspect of theinvention, before a receiving operation is performed for receiving thestorage cartridge from outside the main unit into the predeterminedinner position within the main unit in the receiving and ejecting step,it is determined in the accessibility determining step whether or notaccess to contents recorded on the storage medium can be gained, andwhen it is determined that the access cannot be gained, the receivingoperation in the receiving and ejecting step is inhibited from beingperformed. Therefore, even when a storage cartridge that cannot behandled is inserted, the operation for once receiving the storagecartridge need not be executed, so that it is possible to largely reducetime that is taken to remove the storage cartridge that cannot behandled.

To attain the first object, in a fourth aspect of the present invention,there is provided a control program for causing a computer to executethe method of controlling a portable storage device according to thethird aspect of the present invention.

With the arrangement of the control program according to the fourthaspect of the present invention, it is possible to provide the sameadvantageous effect as obtained by the control method according to thethird aspect of the present invention described above.

To attain the second object of the present invention, in a fifth aspectof the present invention, there is provided a portable storage devicecomprising a storage cartridge including a storage medium, a storagemedium control device that performs writing of data in the storagemedium and reading of data from the storage medium, and a casing thatcontains the storage medium and the storage medium control device, amain unit including a receiving and ejecting device that receives thestorage cartridge from an outside of the main unit into a predeterminedinner position within the main unit, and ejects the storage cartridgeout of the main unit from the predetermined inner position, and astorage operation control device that controls storage operation forstoring data in the storage cartridge, a receiving/ejecting operationdetermining device that determines an operative state of the receivingand ejecting device, and an access inhibiting device that inhibitsaccess to the storage medium based on control by the storage operationcontrol device from being gained, depending on a result of thedetermination by the receiving/ejecting operation determining device.

With the arrangement of the portable storage device according to thefifth aspect of the present invention, the receiving/ejecting operationdetermining device determines the operative state of the receiving andejecting device that receives a storage cartridge from the outside ofthe main unit into the predetermined inner position within the mainunit, and ejects the storage cartridge out of the main unit from thepredetermined inner position, and then the access inhibiting deviceinhibits access to the storage medium based on control by the storageoperation control device from being gained, depending on a result of thedetermination by the receiving/ejecting operation determining device.This makes it possible to positively inhibit access to the storagemedium when it is necessary to inhibit the access so as to preventoccurrence of an accident due to erroneous access, thereby ensuringenhanced safety. Further, a time at which a removable hard diskcartridge can be received/ejected can be determined by thereceiving/ejecting operation determining device, which makes it possibleto perform loading/ejecting operation at a high speed, when the time isreached.

Preferably, the receiving/ejecting operation determining devicedetermines which of a standby state in which a loading operation forreceiving the storage cartridge is awaited, a loading state in which theloading operation is being performed, a loading completed state in whichthe loading operation has been completed, and an ejecting state in whichan ejecting operation for ejecting the storage cartridge is beingperformed, the operative state of the receiving and ejecting devicecorresponds to, and when the operative state corresponds to one of theloading state and the ejecting state, the access inhibiting deviceinhibits the access to the storage medium based on control by thestorage operation control device from being gained.

With the arrangement of this preferred embodiment, thereceiving/ejecting operation determining device is capable ofdetermining which of a standby state in which a loading operation forreceiving the storage cartridge is awaited, a loading state in which theloading operation is being performed, a loading completed state in whichthe loading operation has been completed, and an ejecting state in whichan ejecting operation for ejecting the storage cartridge is beingperformed, the operative state of the receiving and ejecting devicecorresponds to, and when the operative state corresponds to one of theloading state and the ejecting state, the access inhibiting deviceinhibits the access to the storage medium based on control by thestorage operation control device from being gained. This makes itpossible to more positively inhibit the access when it should beinhibited.

More preferably, when the operative state of the receiving and ejectingdevice corresponds to a state other than the loading completed state,the access inhibiting device inhibits the access to the storage mediumbased on control by the storage operation control device from beinggained.

With the arrangement of this preferred embodiment, when the operativestate of the receiving and ejecting device corresponds to a state otherthan the loading completed state, the access inhibiting device inhibitsthe access to the storage medium based on control by the storageoperation control device from being gained. This makes it possible toinhibit the access to the storage medium more positively when it isnecessary to inhibit the access.

More preferably, the access inhibiting device inhibits the access to thestorage medium based on control by the storage operation control devicefrom being gained, by providing control such that operations areperformed in the same manner as in a case where the storage cartridge isactually unloaded, irrespective of whether or not the storage cartridgeis physically loaded in the main unit.

With the arrangement of this preferred embodiment, the access inhibitingdevice provides control such that operations are performed in the samemanner as in a case where the storage cartridge is actually unloaded,irrespective of whether or not the storage cartridge is physicallyloaded in the main unit. This makes it possible to more positivelyinhibit access to the storage medium.

Preferably, the access inhibiting device comprises a signal cutoffdevice that electrically cuts off at least part of electric signalstransmitted between the storage operation control device and the storagecartridge.

With the arrangement of this preferred embodiment, at least part ofelectric signals transmitted between the storage operation controldevice and the storage cartridge is electrically cut off. Therefore, itis possible to positively inhibit the access to the storage medium.

More preferably, the signal cutoff device comprises a semiconductordevice.

With the arrangement of this preferred embodiment, the size of thesignal cutoff device can be reduced. This makes it possible to promotedownsizing of the portable storage device.

To attain the second object, in a sixth aspect of the present invention,there is provided an electronic information apparatus including theportable storage device according to the fifth aspect of the presentinvention.

With the arrangement of the electronic information apparatus accordingto the sixth aspect of the present invention, when the removable harddisk cartridge is loaded or ejected, it is possible to perform a loadingor ejecting operation more speedily and safely than in the prior art.

To attain the second object, in a seventh aspect of the presentinvention, there is provided a method of controlling a portable storagedevice, comprising a storage medium control step of performing writingof data in a storage medium contained in a storage cartridge and readingof data from the storage medium, a receiving and ejecting step ofcausing a receiving and ejecting device to receive the storage cartridgefrom outside a main unit into a predetermined inner position within themain unit, and eject the storage cartridge out of the main unit from thepredetermined inner position, a storage operation control step ofcontrolling a storage operation for storing data in the storagecartridge, a receiving/ejecting operation determining step ofdetermining an operative state of the receiving and ejecting device, andan access inhibiting step of inhibiting access to the storage mediumbased on control in the storage operation control step from beinggained, depending on a result of the determination in thereceiving/ejecting operation determining step.

With the arrangement of the method according to the seventh aspect ofthe present invention, the operative state of the receiving and ejectingdevice that receives a storage cartridge from outside into thepredetermined inner position, and ejects the storage cartridge outsidefrom the predetermined inner position is determined in thereceiving/ejecting operation determining step, and then access to thestorage medium based on control in the storage operation control step isinhibited in the access inhibiting step, depending on a result of thedetermination in the receiving/ejecting operation determining step. Thismakes it possible to positively inhibit the access to the storage mediumwhen it is necessary to inhibit the access so as to prevent occurrenceof an accident due to erroneous access, thereby ensuring enhancedsafety. Further, a time at which a removable hard disk cartridge can bereceived/ejected can be determined in the receiving/ejecting operationdetermining step, which makes it possible to perform loading/ejectingoperation at a high speed, when the time is reached.

To attain the second object, in an eighth aspect of the presentinvention, there is provided a control program for causing a computer toexecute the method of controlling a portable storage device according tothe seventh aspect of the invention.

With the arrangement of the control program according to the eighthaspect of the present invention, it is possible to provide the sameadvantageous effects as obtained by the control method according to theseventh aspect of the present invention described above.

The above and other objects, features, and advantages of the presentinvention will become more apparent from the following detaileddescription taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram schematically showing the configuration of aportable storage cartridge as a component of a portable storage deviceaccording to a first embodiment of the present invention;

FIG. 2 is a block diagram schematically showing the arrangement of theportable storage cartridge appearing in FIG. 1 and a main unit forreceiving the removable hard disk cartridge;

FIG. 3 is a perspective view showing the portable storage cartridge andan automatic loading/ejecting mechanism as viewed from below;

FIG. 4 is a partly cut-away perspective view showing the portablestorage cartridge and the automatic loading/ejecting mechanism appearingin FIG. 3, as viewed from above;

FIG. 5 is a flowchart of a loading process executed by a microprocessorappearing in FIG. 2;

FIG. 6 is a diagram schematically showing the arrangement of a portablestorage cartridge as a component of a portable storage device accordingto a second embodiment of the present invention;

FIGS. 7A and 7B are flowchart of a loading process executed by theportable storage device according to the second embodiment;

FIG. 8 is a flowchart of a loading/ejecting process executed by aportable storage device according to a third embodiment of the presentinvention;

FIG. 9 is a diagram showing changes with time in the operative state ofthe automatic loading/ejecting mechanism, according to the flowchart inFIG. 8;

FIG. 10 is a flowchart of a process for handling disk control-relatedtasks;

FIG. 11 is a block diagram schematically showing the arrangement of aremovable hard disk cartridge and a main unit for receiving thecartridge, of a portable storage device according to a fourth embodimentof the present invention; and

FIG. 12 is a flowchart of a process for handling disk control-relatedtasks, which is executed by the portable storage device according to thefourth embodiment.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention will now be described with reference to thedrawings showing preferred embodiments thereof.

FIG. 1 is a diagram schematically showing the arrangement of a portablestorage cartridge according to a first embodiment of the presentinvention. FIG. 2 is a block diagram showing the arrangement of theportable storage cartridge shown in FIG. 1 and a main unit for receivingthe same.

As shown in FIG. 1, the portable storage cartridge 1 (hereinafterreferred to as “the removable hard disk cartridge 1”) is comprised of acasing 20 formed e.g. of a molded member, and a hard disk drive device10 contained in the casing 20. The casing 20 has an opening at one endthereof, and a connector 4 is attached to the opening, for connection toa main unit 2 (see FIG. 2) described in detail hereinafter.

Next, a description will be given of individual components of the harddisk drive device 10.

A control circuit 11 controls the overall operation of the removablehard disk cartridge 1, and an interface circuit 12, a head drivingcircuit 13, and a motor driving circuit 14 are connected to the controlcircuit 11.

The motor driving circuit 14 drives a pair of motors 15, 16. A magneticrecording medium 17 (hereinafter referred to as “the hard disk 17”) isengaged with a rotational shaft 15 a of the motor 15, while one end of ahead arm 18 is engaged with a rotational shaft 16 a of the motor 16. Thehard disk 17 is driven for rotation by the motor 15, and the head arm 18is driven for seek operation by the motor 16. The head driving circuit13 drives a magnetic head 19 provided at the other end of the head arm18, for reading data from a desired location of the hard disk 17 orwriting data into a desired location of the same.

The data read or written by the magnetic head 19 is transferred betweenthe removable hard disk cartridge 1 and the main unit 2 via theinterface circuit 12 and the connector 4. The interface circuit 12 isimplemented by a known interface, such as SCSI (Small Computer SystemInterface) or IDE (ATA) (IDE; Integrated Drive Electronics, ATA; ATAttachment), and the removable hard disk cartridge 1 functions as a diskdevice connected to the main unit 2 by the interface.

As shown in FIG. 2, a microprocessor 40 controls the overall operationof the portable storage device 100. In the microprocessor 40, a CPU, aROM, a RAM, and an I/O, none of which are shown, are integrated into asingle chip. A disk controller 41 includes an interface circuit 41 acorresponding to the interface circuit 12 described above with referenceto FIG. 1. The portable storage device 100 has a host apparatusinterface circuit 42 for connecting itself to an external hostapparatus, such as a personal computer. The host apparatus interfacecircuit 42 is implemented by a known interface, such as USB (UniversalSerial Bus) or IEEE (Institute of Electrical and Electronic Engineers)1394. The portable storage device 100 functions as a removable storagedevice connected to the external personal computer or the like via theinterface.

The main unit 2 has a tact switch 43 (pushbutton switch) providedtherein for enabling a user to instruct ejection of the removable harddisk cartridge 1 received in the main unit 2. Ejection of the removablehard disk cartridge 1 can be instructed not only by depressing the tactswitch 43, but also by issuing a command from the host apparatus.

The portable storage device 100 has an automatic loading/ejectingmechanism 5 disposed in a part thereof for receiving the removable harddisk cartridge 1. The automatic loading/ejecting mechanism 5 is drivenby a pulse motor 8. There are two types of main units 2, i.e. a typeincorporated in a personal computer, and the other separate from apersonal computer and connectable to the same.

The automatic loading/ejecting mechanism 5 is provided with a connector23 for connection with the connector 4 of the removable hard diskcartridge 1, and a microswitch 32 for detecting insertion of theremovable hard disk cartridge 1 into the automatic loading/ejectingmechanism 5. Although not shown in FIG. 1 or 2, not only signal linesfrom the associated interface circuits but also a power supply lineextends through the connector 4 and the connector 23, and the removablehard disk cartridge 1 is supplied with power from the main unit 2 viathe power supply line, for operation. The connector 4 and the connector23 are of a hot-plug type constructed such that associated terminals ofthe two connectors used for the power supply line are brought intocontact with each other in timing different from timing in whichassociated terminals of the same used as for the signal lines arebrought into contact with each other.

Next, the mechanical construction of the automatic loading/ejectingmechanism 5 will be described with reference to FIGS. 3 and 4.

FIG. 3 is a perspective view of the removable hard disk cartridge 1 andthe automatic loading/ejecting mechanism 5, as viewed from below. FIG. 4is a partly cut-away perspective view of the removable hard diskcartridge 1 and the automatic loading/ejecting mechanism 5 in FIG. 3, asviewed from above.

The entire automatic loading/ejecting mechanism 5 is supported by aframe 6. A pallet 7 is used for placing the removable hard diskcartridge 1 thereon and supported by the frame 6 such that the removablehard disk cartridge 1 can reciprocate along grooves (not shown) formedin the frame 6 in directions indicated by a double-headed arrow A, withthe pulse motor 8 connected thereto via a screw rotary shaft 8 a. As therotary shaft 8 a rotates along with rotation of the pulse motor 8, thepallet 7 moves in the directions indicated by the double-headed arrow A.The connector 23 and the microswitch 32 are disposed at a connecting endof the pallet 7.

The microprocessor 40 and the circuits described with reference to FIG.2 are mounted on a printed circuit board 9. It should be noted that theprinted circuit board 9 and the connector 23 are interconnected bywiring members including a flexible cable 9 a.

Now, a description will be given of the outline of loading/ejectingoperation. When the removable hard disk cartridge 1 is inserted into theautomatic loading/ejecting mechanism 5 (in a direction indicated by anarrow B), and the connector 4 of the removable hard disk cartridge 1reaches a position where the connector 4 is properly fitted with theconnector 23 of the main unit 2, the connecting end of the removablehard disk cartridge 1 depresses the microswitch 32, whereby themicroswitch 32 is changed from an open position to a closed position.The microprocessor 40 is capable of electrically sensing this positionchange of the microswitch 32 to thereby detect whether or not theremovable hard disk cartridge 1 has been inserted into the automaticloading/ejecting mechanism 5.

It should be noted that when the connector 4 and the connector 23 areproperly fitted with each other, the supply of electric power to theremovable hard disk cartridge 1 is started regardless of the loadingoperation.

Upon detection of the insertion of the removable hard disk cartridge 1into the automatic loading/ejecting mechanism 5, the microprocessor 40causes the pulse motor 8 to perform counterclockwise rotation by apredetermined number of rotations to thereby retract the pallet 7 withthe removable hard disk cartridge 1 placed thereon. Thus, the automaticloading operation for the removable hard disk cartridge 1 is performed.

On the other hand, when the tact switch 43 is released from thedepressed state, or when a command instructing ejection of the removablehard disk cartridge 1 is received from the host apparatus, themicroprocessor 40 causes the pulse motor 8 to perform clockwise rotationby a predetermined number of rotations to push the pallet 7 with theremovable hard disk cartridge 1 placed thereon, outward from theautomatic loading/ejecting mechanism 5 (in an opposite direction to thedirection indicated by the arrow B). Thus, the automatic ejectingoperation is performed for the removable hard disk cartridge 1.

Before the removable hard disk cartridge 1 is ejected, the microswitch32 remains depressed (in the closed position), but since the insertionof the removable hard disk cartridge 1 is detected only when themicroswitch 32 is changed from the open position to the closed position,the loading operation is not allowed to start during the ejectingoperation. The loading operation is executed next only when theremovable hard disk cartridge 1 is inserted again to depress themicroswitch 32, after having been removed once.

FIG. 5 is a flowchart of a loading process executed by themicroprocessor 40 appearing in FIG. 2.

First, in a step S101, insertion of the removable hard disk cartridge 1into the main unit 2 is awaited. When the removable hard disk cartridge1 is inserted into the main unit 2, the removable hard disk cartridge 1is checked (S102) to know whether it is in an accessible format. Thischeck is performed by driving the removable hard disk cartridge 1 viathe connector 4 and thereby trying access to the hard disk 17 to readthe contents of the same. An access right, described in detailhereinafter, may be checked in the step S102.

Then, in a step S103, it is determined whether or not the removable harddisk cartridge 1 is in an accessible format. If the removable hard diskcartridge 1 is in an accessible format, the process proceeds to a stepS104, wherein it is determined whether or not the user has an accessright. If the user has an access right, a loading operation is carriedout in a step S105 to receive the removable hard disk cartridge 1 into apredetermined inner position in the main unit 2, followed by terminatingthe present loading process.

If it is determined in the step S104 that the user does not have anaccess right, the removable hard disk cartridge 1 is electricallydisconnected from the main unit 2 in a step S111, followed byterminating the present loading process. This prevents the removablehard disk cartridge 1 from being loaded into the main unit 2, therebyenabling the same to be removed from the main unit 2 immediately.

If it is determined in the step S103 that the removable hard diskcartridge 1 is not in an accessible format, a message to the effect thatthe removable hard disk cartridge 1 is not accessible is displayed on adisplay device (not shown), and at the same time the user is questionedwhether or not the hard disk 17 is to be formatted (S106). In a stepS107, it is determined whether or not the hard disk 17 is to beformatted. If the hard disk 17 is to be formatted, the process proceedsto a step S108, wherein a loading operation is carried out to receivethe removable hard disk cartridge 1 into the predetermined innerposition in the main unit 2, and in the following step S109, the harddisk 17 is formatted. Then, in a step S110, a message to the effect thatthe formatting is completed is displayed on the display device, followedby terminating the present loading process.

If it is determined in the step S107 that the hard disk 17 is not to beformatted, the removable hard disk cartridge 1 is electricallydisconnected from the main unit 2 in the step S111, followed byterminating the present loading process. This prevents the removablehard disk cartridge 1 from being loaded into the main unit 2, therebyenabling the same to be removed from the main unit 2 immediately.

The object to be checked in the step S102 to know whether the removablehard disk cartridge 1 is accessible may be a storage medium other thanthe hard disk 17 described above, which is additionally incorporated inthe removable hard disk cartridge 1.

Next, a description will be given of a portable storage device accordingto a second embodiment, as an example of the removable hard diskcartridge 1 incorporating a storage medium other than the hard disk 17.

FIG. 6 is a diagram schematically showing the arrangement of a portablestorage cartridge as a component of the portable storage deviceaccording to the second embodiment of the present invention.

The portable storage cartridge 1 (removable hard disk cartridge 1) shownin FIG. 6 is distinguished from the removable hard disk cartridge 1 ofthe first embodiment only in that it includes a nonvolatilesemiconductor memory 60 storing format information and access rightinformation, and a semiconductor memory control circuit 61 forcontrolling the nonvolatile semiconductor memory 60, but the othercomponent parts thereof are the same as the corresponding ones of theremovable hard disk cartridge 1 of the first embodiment. The samecomponent parts are designated by identical reference numerals, andduplicated descriptions thereof are omitted. Further, a main unitemployed in the second embodiment is identical in construction to thatemployed in the first embodiment in FIG. 2, and therefore illustrationand description thereof are omitted.

The nonvolatile semiconductor memory 60 stores the format informationand access right information on the hard disk 17. Whenever theinformation is altered, it can be rewritten.

FIGS. 7A and 7B are flowchart of a loading process executed by theportable storage device according to the second embodiment.

First, in a step S201, insertion of the removable hard disk cartridge 1into the main unit 2 is awaited. When the removable hard disk cartridge1 is inserted into the main unit 2, the removable hard disk cartridge 1is checked to know whether it is in an accessible format (S202). Thischeck is performed by trying access to the nonvolatile semiconductormemory 60 to read the format information.

Then, in a step S203, it is determined whether or not the removable harddisk cartridge 1 is in an accessible format. If the removable hard diskcartridge 1 is in an accessible format, the process proceeds to a stepS204, wherein it is determined whether or not the user has an accessright. This determination is performed by reading the access rightinformation from the nonvolatile semiconductor memory 60. If the userhas an access right, the process proceeds to a step S105, wherein aloading operation is carried out to receive the removable hard diskcartridge 1 into a predetermined inner position in the main unit 2,followed by terminating the present loading process.

If it is determined in the step S203 that the removable hard diskcartridge 1 is not in an accessible format, i.e. if the nonvolatilesemiconductor memory 60 has no format information recorded therein or itis formatted in a format that cannot be handled, the process proceeds toa step S206, wherein access to the hard disk 17 is tried so as to checkthe format thereof again. Then, in a step S207, it is determined whetheror not the hard disk 17 is in an accessible format. If the hard disk 17is in an accessible format, the information on the removable hard diskcartridge 1 being in the accessible format is stored in the nonvolatilesemiconductor memory 60 (S208), followed by the process proceeding tothe step 204.

If it is determined in the step S204 that the user does not have anaccess right, i.e. if the nonvolatile semiconductor memory 60 does nothave the access right information recorded therein, the hard disk 17 isaccessed in a step S209 so as to check the access right information.Then, in a step S210, it is determined whether or not the user has anaccess right. If the hard disk 17 has the access right informationstored therein, which means that the user has an access right, theinformation on the user having an access right is stored in thenonvolatile semiconductor memory 60 (S211), followed by the processproceeding to the step S205, wherein a loading operation is carried outto receive the removable hard disk cartridge 1 into the predeterminedinner position in the main unit 2, followed by terminating the presentloading process.

If it is determined in the step S210 that the user does not have anaccess right to the hard disk 17, the removable hard disk cartridge 1 iselectrically disconnected from the main unit 2 in the step S211,followed by terminating the present loading process. This prevents theremovable hard disk cartridge 1 from being loaded into the main unit 2,thereby enabling the same to be removed from the main unit 2immediately.

If it is determined in the step S207 that the removable hard diskcartridge 1 is not in an accessible format, a message to the effect thatthe removable hard disk cartridge 1 is not accessible is displayed on adisplay device (not shown), and at the same time the user is questionedwhether the hard disk 17 is to be formatted (S212). Then, in a stepS213, it is determined whether or not the hard disk 17 is to beformatted. If the hard disk 17 is to be formatted, a loading operationis carried out in a step S214, and in the following step S215, the harddisk 17 is formatted. Then, in a step S216, a message to the effect thatthe formatting is completed is displayed on the display device, and theformat information is stored in the nonvolatile semiconductor memory 60in a step S217, followed by terminating the present loading process.

If the hard disk 17 is not to be formatted in the step S213, theremovable hard disk cartridge 1 is electrically disconnected from themain unit 2 in the step S218, followed by terminating the presentloading process. This prevents the removable hard disk cartridge 1 frombeing loaded into the main unit 2, thereby enabling the same to beremoved from the main unit 2 immediately.

As described heretofore, according to the first and second embodiments,when the automatic loading/ejecting mechanism is employed to load/unloada removable hard disk cartridge 1, a removable hard disk cartridge 1unformatted or formatted in a format that cannot be handled, or aremovable hard disk cartridge 1 to which the user has no access rightcan be removed from the main unit 2 in a shorter time than in the priorart.

Next, a description will be given of a portable storage device accordingto a third embodiment of the present invention.

FIG. 8 is a flowchart of a loading/ejecting process executed by theportable storage device of the third embodiment. The portable storagedevice is identical in construction to that of the first embodiment, andtherefore illustration and description thereof are omitted.

A state storage area for storing an operative state of the automaticloading/ejecting mechanism 5 is provided in advance in a RAM (not shown)of the microprocessor 40. First, in a step S301, a state “standby” isstored as the operative state in the state storage area. Then, in a stepS302, it is determined whether or not insertion of the removable harddisk cartridge 1 has been detected. If the insertion of the removablehard disk cartridge 1 has been detected, a state “loading” is stored asthe operative state in the state storage area in a step S303, and thenin a step S304, the pulse motor 8 is driven so as to carry out a loadingoperation.

Then, it is determined in a step S305 whether or not the loadingoperation is completed. If the loading operation is completed, theprocess proceeds to a step S306, wherein a state “loading completed” isstored as the operative state in the state storage area.

Then, it is determined in a step S307 whether or not ejection of theremovable hard disk cartridge 1 has been instructed. If the ejection hasbeen instructed, a state “ejecting” is stored as the operative state inthe state storage area in a step S308, and in a step S309, the pulsemotor 8 is driven so as to carry out an ejecting operation. Then, it isdetermined in a step S310 whether or not the ejecting operation iscompleted. If the ejecting operation is completed (YES to S310), theprocess returns to the step S301. If the ejecting operation is notcompleted yet, completion of the ejecting operation is awaited, andafter completion of the ejecting operation, the process returns to thestep S301.

FIG. 9 is a diagram showing changes with time in the operative state ofthe automatic loading/ejecting mechanism 5 according to the flowchart inFIG. 8.

Insofar as insertion of the removable hard disk cartridge 1 is notdetected, the automatic loading/ejecting mechanism 5 is in a statedesignated by reference numeral 400, i.e. the state “standby”. When theinsertion of the removable hard disk cartridge 1 is detected, theoperative state of the automatic loading/ejecting mechanism 5 is changedfrom the state 400 to a state designated by reference numeral 401, i.e.the state “loading”. The state 401 is maintained insofar as the loadingoperation continues. When the loading operation is completed, theoperative state of the automatic loading/ejecting mechanism 5 is changedfrom the state 401 to a state designated by a reference numeral 402,i.e. the state “loading completed”. Before the ejection is instructed,the state 402 is maintained, and subsequently when the ejection isinstructed, the operative state is changed from the state 402 to a state403, i.e. “ejecting”. The state 403 is maintained insofar as theejecting operation continues. When the loading operation is completed,the operative state returns to the state 400. In short, the operativestate of the automatic loading/ejecting mechanism 5 is determined to beany one of the four states, i.e. “standby”, “loading”, “loadingcompleted”, and “ejecting”, according to the process shown in theflowchart in FIG. 8.

FIG. 10 is a flowchart of a process for handling disk control-relatedtasks.

First, it is determined in a step S501 whether or not the operativestate is “loading completed”. If the operative state is “loadingcompleted”, the process proceeds to a step S502, wherein themicroprocessor 40 controls the disk controller 41 such that the diskcontroller 41 performs a normal operation. In the normal operation,commands from the host apparatus are normally responded to, and readingfrom and writing in the removable hard disk cartridge 1 are normallyperformed. On the other hand, if the operative state is not “loadingcompleted”, the process proceeds to a step S503, wherein it isdetermined whether or not a command received from the host apparatusinstructs the ejection of the removable hard disk cartridge 1. If thecommand instructs the ejection, no processing operation is executed in astep S504 with the ejecting instruction neglected, and the processreturns to the step S501. The ejecting instruction is not notified tothe ejecting task of the loading/ejection process described in FIG. 8,either. If it is determined in the step S503 that the received commanddoes not instruct the ejection, the disk controller 41 performs in astep S505 an operation assuming that the hard disk drive device 10 doesnot exist physically ahead of or on the distal end side of the interfacecircuit included in the disk controller 41, i.e. that the removable harddisk cartridge 1 is not loaded in the main unit 2. In short, themicroprocessor 40 controls the disk controller 41 such that the diskcontroller 41 reacts to commands from the host apparatus assuming thatthe removable hard disk cartridge 1 is not loaded in the main unit 2,irrespective of whether or not the removable hard disk cartridge 1 isactually loaded.

As described above, according to the present embodiment, during aloading operation or an ejecting operation, the disk controller 41 iscaused to react just as in the case where the removable hard diskcartridge 1 is not loaded in the main unit 2, whereby access to the harddisk 17 of the removable hard disk cartridge 1 is inhibited during theloading or ejecting operation. This makes it possible to realize aportable storage device which can operate without a hitch even when aloading/ejecting operation is carried out at a higher speed than in theconventional portable storage devices.

Although in the above described third embodiment, the portable storagedevice has been described as an independent or separate device, theportable storage device may be incorporated in an electronic informationapparatus, such as a personal computer. Hereafter, the portable storagedevice incorporated in an electronic information apparatus will bedescribed as a fourth embodiment.

FIG. 11 is a block diagram showing the arrangement of a removable harddisk cartridge and a main unit for receiving the same, according to thefourth embodiment.

The portable storage device 100 shown in FIG. 11 is distinguished fromthat of the first embodiment shown in FIG. 2 in that it includes a businterface circuit 44 in place of the host apparatus interface circuit 42and has a tri-state buffer 45 inserted between the disk controller 41and the connector 23. The other component parts and elements designatedby reference numerals 1, 4, 5, 8, 23, 32, 40, 41, 41 a, 43 are identicalto the respective corresponding ones described with reference to FIG. 2.For the microprocessor 40, there may be commonly used a CPU of thepersonal computer.

A bus interface within the personal computer can be implemented e.g. bya PCI bus. More specifically, since the portable storage device 100 isincorporated in the personal computer, an internal bus interface, suchas the PCI bus, can be used in place of the above-mentioned interface,such as the USB, the IEEE 139, or the like, for connection between theportable storage device 100 and the host apparatus.

The tri-state buffer 45 is inserted into a part or all of signal lines(except bidirectional signal lines) of the interface between the diskcontroller 41 and the hard disk drive 10, and is responsive to a controlsignal from the microprocessor 40, for electrically cutting off signalsto be transmitted through the signal lines (i.e. brings the signal linesinto a high impedance state). As a result, even when the connector 4 andthe connector 23 are physically fitted with each other, it is possibleto create a state in which logically the disk drive device 10 does notexist ahead of or on the distal end side of the interface circuit 41 aincluded in the disk roller 41.

FIG. 12 is a flowchart of a process for handling disk control-relatedtasks, which is executed by the portable storage device according to thefourth embodiment.

First, it is determined in a step S601 whether or not the operativestate is “loading completed”. If the operative state is “loadingcompleted”, the process proceeds to a step S602, wherein the tri-statebuffer 45 is enabled. Then, in a step S603, the microprocessor 40controls the disk controller 41 to perform a normal operation. In thenormal operation, commands from the host apparatus are normallyresponded to, and reading from and writing in the removable hard diskcartridge 1 are normally performed.

On the other hand, if it is determined in the step S601 that theoperative state is not “loading completed”, the process proceeds to astep S604, wherein the tri-state buffer 45 is disabled. At this timepoint, the portable storage device 100 comes into a state equivalent tothe state in which the removable hard disk cartridge 1 is not loaded,irrespective of whether or not the removable hard disk cartridge 1 isphysically loaded.

Then, in a step S605, it is determined whether or not a command from thehost apparatus instructs the ejection. If the command instructs theejection, no processing operation is executed in a step S606 with theejecting instruction neglected. The ejecting instruction is not notifiedto the ejecting task of the loading/ejection process described in FIG.8, either. If the received command does not instruct the ejection, inthe step S603, the microprocessor 40 controls the disk controller 41 toperform a normal operation. The normal operation here includesoperations performed in response to commands received when the removablehard disk cartridge 1 is actually unloaded.

In the processing according to the third embodiment, the unloaded stateof the removable hard disk cartridge 1 is created by software throughprocessing operation of the microprocessor 40. In the presentembodiment, however, due to the operation of the tri-state buffer 45, itappears to the microprocessor 40 and the disk controller 41 as if theremovable hard disk cartridge 1 were actually unloaded. Therefore, thedisk controller 41 operates in response to commands from the hostapparatus, without any special control by the microprocessor 40, as ifthe removable hard disk cartridge 1 were unloaded.

As described above, according to the present embodiment, by cutting offpart or all of the signals to be transmitted through the interface usingthe tri-state buffer 45 during a loading or ejecting operation, it ispossible to inhibit access to the hard disk 17 contained in theremovable hard disk cartridge 1 during the loading or ejectingoperation.

In the present embodiment, disk control during a loading or ejectingoperation can be performed merely by disabling the tri-state buffer 45,which makes the disk control relatively easier to perform than in theother embodiments described herein before.

It is to be understood that the objects of the present invention can beaccomplished by supplying a computer or a CPU with software programswhich realize functions (corresponding to flowcharts in FIGS. 5, 7A, 7B,8, 10, and 12) of the above described embodiments, and causing thecomputer or the CPU to read out and execute the supplied programs.

In this case, each of the programs is directly supplied from a storagemedium storing the program, or supplied by being downloaded from anothercomputer, not shown, or a database, not shown, connected to theInternet, a commercial network, a local area network, or the like.

The above described programs may be in the form of an object code, aprogram code which is executed by an interpreter, or script data whichis supplied to an OS (operating system).

Further, it also goes without saying that the object of the presentinvention may be accomplished by supplying a system or apparatus with astorage medium storing a program code of software realizing thefunctions of any of the above described embodiments, and causing acomputer (CPU or MPU) of the system or apparatus to read out and executethe program stored in the storage medium.

When a program code is employed, the program code itself read from thestorage medium realizes the functions of any of the above describedembodiments, and therefore the storage medium on which the program codeis stored constitutes the present invention.

Examples of the storage medium for supplying the program code include aROM, a RAM, an NV-RAM, a floppy (registered trademark) disk, a harddisk, an optical disk, a magneto-optical disk, a CD-ROM, an MO, a CD-R,a CD-RW, a DVD-ROM, a DVD-RAM, a DVD-RW, a DVD+RW, a magnetic tape, anda nonvolatile memory card.

Further, it is to be understood that the functions of any of the abovedescribed embodiments may be accomplished not only by executing aprogram code read out by a computer, but also by causing an OS(operating system) or the like which operates on the computer to performa part or all of the actual operations based on instructions of theprograms.

Further, it is to be understood that the functions of any of the abovedescribed embodiments may be accomplished by writing a program code readout from the storage medium into a memory provided on an expansion boardinserted into a computer or in an expansion unit connected to thecomputer and then causing a CPU or the like provided in the expansionboard or the expansion unit to perform a part or all of the actualoperations based on instructions of the program code.

1. A portable storage device comprising: a main unit including areceiving and ejecting device that receives a storage cartridge from anoutside of said main unit into a predetermined inner position withinsaid main unit, and ejects said storage cartridge out of said main unitfrom the predetermined inner position, and a storage operation controldevice that controls storage operation for storing data in said storagecartridge, wherein said storage cartridge includes a storage medium,another storage medium storing format information and access rightinformation of said storage medium, a storage medium control device thatperforms writing of data in said storage medium and reading of data fromsaid medium, and a casing that contains said storage medium and saidstorage medium control device; an accessibility determining device thatdetermines whether or not access to contents recorded on said storagemedium can be gained based on the format information and the accessright information stored in the another storage medium, wherein saidaccessibility determining device tries to access said storage medium todetermine whether or not the access can be gained, when saidaccessibility determining device cannot determine that the access can begained based on the format information and the access right information;and a reception inhibiting device that inhibits said receiving andejecting device from performing the receiving operation when saidaccessibility determining device determines that the access can not begained.
 2. A portable storage device as claimed in claim 1, wherein theanother storage medium is a nonvolatile semiconductor memory.
 3. Aportable storage device as claimed in claim 1, wherein saidaccessibility determining device determines whether or not the accesscan be gained by determining whether or not said storage medium isformatted.
 4. A portable storage device as claimed in claim 3, whereinsaid receiving and ejecting device is responsive to a determination bysaid accessibility determining device that the access can be gained, forreceiving said storage cartridge into the predetermined inner positionsubstantially simultaneously with completion of the determination.
 5. Aportable storage device as claimed in claim 3, further comprising anotification device which is responsive to a determination by saidaccessibility determining device that the access cannot be gained, fornotifying a user that the access cannot be gained.
 6. A portable storagedevice as claimed in claim 5, further comprising a format process devicewhich is responsive to a determination by said accessibility determiningdevice that the access cannot be gained, for asking the user whether ornot said storage medium is to be formatted, and is responsive to aninstruction by the user that said storage medium is to be formatted, forcausing said storage cartridge to be received into the predeterminedinner position and formatting said storage medium in a controllableformat.
 7. A portable storage device as claimed in claim 1, wherein saidaccessibility determining device determines whether or not the accesscan be gained by determining whether or not said storage medium iscontrollably formatted.
 8. A portable storage device as claimed in claim1, wherein said accessibility determining device determines whether ornot the access can be gained by determining whether or not a user has anaccess right to said storage medium.
 9. A portable storage device asclaimed in claim 1, wherein format information of a format of saidstorage medium is written into the another storage medium.
 10. Aportable storage device as claimed in claim 1, wherein when an accessright is changed during use of said storage cartridge, the access rightinformation on the changed access right is written into the anotherstorage medium.
 11. An electronic information apparatus including theportable storage device as claimed in claim
 1. 12. A method ofcontrolling a portable storage device, comprising: a storage mediumcontrol step of performing writing of data in a storage medium containedin a storage cartridge and reading of data from the storage medium; areceiving and ejecting step of receiving the storage cartridge fromoutside a main unit into a predetermined inner position within the mainunit, and ejecting the storage cartridge out of said main unit from thepredetermined inner position; an accessibility determining step ofdetermining whether or not access to contents recorded on said storagemedium can be gained based on the format information and the accessright information stored in another storage medium contained in thestorage cartridge and trying to access said storage medium when notbeing able to determine that the access can be gained based on theformat information and the access right information; and an receptioninhibiting step of inhibiting the receiving operation from beingperformed in said receiving and ejecting step when it is determined insaid accessibility determining step that the access can not be gained.